package cn.slipi.facade.api.provider;

import org.springframework.http.MediaType;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

@RequestMapping("/provider")
public interface ProviderFacade {
    @RequestMapping("test1")
    String test1();


    @PostMapping(value = "test2",consumes = MediaType.APPLICATION_JSON_VALUE)
    Object test2(@RequestBody Object obj);
}
